package com.it.web.servlet;


import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/user/*")
public class UserServlet extends baseServlet{

    //设置查询全部方法
    public void selectAll(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("User all ...");
    }

    public void add(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
        System.out.println("User add ...");
    }

}
